package com.napenalki.toto.service;

import java.util.List;

import com.napenalki.toto.domain.Event;
import com.napenalki.toto.domain.Prediction;

public interface PredictionService {

    public Prediction addPrediction(Prediction prediction);

    public Prediction findPredictionById(int id);

    public List<Prediction> findAllMatchPredictions();

    public List<Prediction> findAllSpecialPredictions();

    public List<Prediction> findPredictionsByUser(String userName);

    public List<Prediction> findPredictionsByEvent(Event event);

    public Prediction findPredictionByUserAndEvent(String userName, Event event);

    public Prediction updatePrediction(Prediction prediction);

    public void deletePrediction(Prediction prediction);

    public int calculateUserScore(String userName);

}
